package date;

import java.util.Calendar;

public class DateDemo1 {
    public static void main(String[] args) {
        Calendar cal = Calendar.getInstance();
        cal.set(2022,7,23);
        cal.add(Calendar.DAY_OF_YEAR,48);
        cal.add(Calendar.WEEK_OF_YEAR,-1);
        cal.add(Calendar.DAY_OF_WEEK,5);
        System.out.println(cal.getTime());
    }
}
